package com.example.mybatisdemo.mapper;

import com.example.mybatisdemo.model.UserInfo;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {
    Integer insert(UserInfo userInfo);

    Integer delete(Integer id);

    Integer update(UserInfo userInfo);

    List<UserInfo> selectUserAll();

    List<UserInfo> selectUserAll2(String deleteFlag);


    Integer insertByCondition(UserInfo userInfo);


    List<UserInfo> queryUserByCondition(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);

    Integer batchDelete(List<Integer> idList);

    Integer batchInsert(List<UserInfo> userInfoList);
}
